Dynomotion

Group: DynoMotion Message: 12208 From: nkwok Date: 9/5/2015
Subject: KFLOP UART R2232C

Hello,


I have followed the link http://dynomotion.com/Help/RS232/RS232.htm and able to get the software running.  I have found that I have to setup KAN_TRIG_REG=2 for KFLOP Serial.


FPGA(RS232_BAUD_REG) = RS232_BAUD_19200;

FPGA(KAN_TRIG_REG)=2;


  However, I did not see the signal form the pin out (IO45).  Do I need to enable the bit direction for IO44 and IO45?


Thanks,

Norman

Group: DynoMotion Message: 12209 From: Tom Kerekes Date: 9/5/2015
Subject: Re: KFLOP UART R2232C
Hi Norman,

Yes IO45 should be configured as an output and IO44 as an input.

There are now better examples that use the function:

    EnableRS232Cmds(RS232_BAUD_38400);

That will do this automatically for you.  See the examples in \C Programs\RS232

HTH
Regards
TK

Group: DynoMotion Message: 12210 From: nkwok Date: 9/5/2015
Subject: Re: KFLOP UART R2232C
Hello,

I re-read the sample code and found that I have to set the bit direction for IO45.

Regards,
Norman